package top.upstudy.crm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.upstudy.crm.mapper.ProvCityAreaStreetMapper;
import top.upstudy.crm.pojo.ProvCityAreaStreet;
import top.upstudy.crm.service.ProvCityAreaStreetService;

import java.util.List;

@Service
public class ProvCityAreaStreetServiceImpl implements ProvCityAreaStreetService {

    @Autowired
    private ProvCityAreaStreetMapper provCityAreaStreetMapper;


    @Override
    public List<ProvCityAreaStreet> findSheng(int code) {
        return provCityAreaStreetMapper.findSheng(code);
    }

    @Override
    public List<ProvCityAreaStreet> findShi(int code) {
        return provCityAreaStreetMapper.findShi(code);
    }

    @Override
    public List<ProvCityAreaStreet> findQu(int code) {
        return provCityAreaStreetMapper.findQu(code);
    }

    @Override
    public List<ProvCityAreaStreet> findJieDao(int code) {
        return provCityAreaStreetMapper.findJieDao(code);
    }
}
